package com.bawei.demoa.bean;

/**
 * Created by Administrator on 2016/6/1 0001.
 *
 * <news>
 <id>73901</id>
 <title>
 <![CDATA[ ToughRADIUS V2.1.7 发布，开源计费系统 ]]>
 </title>
 <body>
 <![CDATA[ v2.1.7 发布日期：2015-05-31 版本说明 这是首个支持接入云端服务的版本... ]]>
 </body>
 <commentCount>1</commentCount>
 <author>
 <![CDATA[ jamiesun ]]>
 </author>
 <authorid>81588</authorid>
 <pubDate>2016-06-01 05:22:33</pubDate>
 <url/>
 <newstype>
 <type>0</type>
 <authoruid2>81588</authoruid2>
 <eventurl/>
 </newstype>
 </news>

 *
 */
public class NewsInfo {
    private int id;
    private String title;
    private String body;
    private String commentCount;
    private String author;
    private String pubDate;

    public NewsInfo() {
    }

    public NewsInfo(String author, String body, String commentCount, int id, String pubDate, String title) {

        this.author = author;
        this.body = body;
        this.commentCount = commentCount;
        this.id = id;
        this.pubDate = pubDate;
        this.title = title;
    }

    public String getAuthor() {

        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(String commentCount) {
        this.commentCount = commentCount;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPubDate() {
        return pubDate;
    }

    public void setPubDate(String pubDate) {
        this.pubDate = pubDate;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }
}
